package com.mbbb.dao;

import com.github.pagehelper.Page;
import com.mbbb.pojo.TravelGroup;

import java.util.HashMap;
import java.util.List;

public interface TravelGroupDao {
    void setTravelGroupAndTravelItem(HashMap map);

    void add(TravelGroup travelGroup);

    Page findPage(String queryString);

    TravelGroup get(Integer id);

    Integer[] getTravelItemIdByTravelGroupId(Integer id);

    void delete(Integer id);

    int findTravelItemIdByTravelGroupId(Integer id);

    void update(TravelGroup travelGroup);

    void deleteAnd(Integer id);

    List<TravelGroup> findAll();
}
